﻿historical_figure_check_change_first_name_all_effect = {

	if = {
		limit = { current_year <= 1024 }
		if = {
			limit = { current_year <= 512 }
			if = {
				limit = { current_year <= 256 }
				if = {
					limit = { current_year <= 128 }
					if = {
						limit = { current_year <= 64 }
						if = {
							limit = { current_year <= 32 }
							if = {
								limit = { current_year <= 16 }
								if = {
									limit = { current_year <= 8 }
									if = {
										limit = { current_year <= 4 }
										if = {
											limit = { current_year <= 2 }
											if = {
												limit = { current_year = 1 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 3 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 6 }
											if = {
												limit = { current_year = 5 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 7 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 12 }
										if = {
											limit = { current_year <= 10 }
											if = {
												limit = { current_year = 9 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 11 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 14 }
											if = {
												limit = { current_year = 13 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 15 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 24 }
									if = {
										limit = { current_year <= 20 }
										if = {
											limit = { current_year <= 18 }
											if = {
												limit = { current_year = 17 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 19 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 22 }
											if = {
												limit = { current_year = 21 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 23 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 28 }
										if = {
											limit = { current_year <= 26 }
											if = {
												limit = { current_year = 25 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 27 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 30 }
											if = {
												limit = { current_year = 29 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 31 }
											}
											else = {
											}
										}
									}
								}
							}
						}
						else = {
							if = {
								limit = { current_year <= 48 }
								if = {
									limit = { current_year <= 40 }
									if = {
										limit = { current_year <= 36 }
										if = {
											limit = { current_year <= 34 }
											if = {
												limit = { current_year = 33 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 35 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 38 }
											if = {
												limit = { current_year = 37 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 39 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 44 }
										if = {
											limit = { current_year <= 42 }
											if = {
												limit = { current_year = 41 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 43 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 46 }
											if = {
												limit = { current_year = 45 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 47 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 56 }
									if = {
										limit = { current_year <= 52 }
										if = {
											limit = { current_year <= 50 }
											if = {
												limit = { current_year = 49 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 51 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 54 }
											if = {
												limit = { current_year = 53 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 55 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 60 }
										if = {
											limit = { current_year <= 58 }
											if = {
												limit = { current_year = 57 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 59 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 62 }
											if = {
												limit = { current_year = 61 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 63 }
											}
											else = {
											}
										}
									}
								}
							}
						}
					}
					else = {
						if = {
							limit = { current_year <= 96 }
							if = {
								limit = { current_year <= 80 }
								if = {
									limit = { current_year <= 72 }
									if = {
										limit = { current_year <= 68 }
										if = {
											limit = { current_year <= 66 }
											if = {
												limit = { current_year = 65 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 67 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 70 }
											if = {
												limit = { current_year = 69 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 71 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 76 }
										if = {
											limit = { current_year <= 74 }
											if = {
												limit = { current_year = 73 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 75 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 78 }
											if = {
												limit = { current_year = 77 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 79 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 88 }
									if = {
										limit = { current_year <= 84 }
										if = {
											limit = { current_year <= 82 }
											if = {
												limit = { current_year = 81 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 83 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 86 }
											if = {
												limit = { current_year = 85 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 87 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 92 }
										if = {
											limit = { current_year <= 90 }
											if = {
												limit = { current_year = 89 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 91 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 94 }
											if = {
												limit = { current_year = 93 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 95 }
											}
											else = {
											}
										}
									}
								}
							}
						}
						else = {
							if = {
								limit = { current_year <= 112 }
								if = {
									limit = { current_year <= 104 }
									if = {
										limit = { current_year <= 100 }
										if = {
											limit = { current_year <= 98 }
											if = {
												limit = { current_year = 97 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 99 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 102 }
											if = {
												limit = { current_year = 101 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 103 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 108 }
										if = {
											limit = { current_year <= 106 }
											if = {
												limit = { current_year = 105 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 107 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 110 }
											if = {
												limit = { current_year = 109 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 111 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 120 }
									if = {
										limit = { current_year <= 116 }
										if = {
											limit = { current_year <= 114 }
											if = {
												limit = { current_year = 113 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 115 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 118 }
											if = {
												limit = { current_year = 117 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 119 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 124 }
										if = {
											limit = { current_year <= 122 }
											if = {
												limit = { current_year = 121 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 123 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 126 }
											if = {
												limit = { current_year = 125 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 127 }
											}
											else = {
											}
										}
									}
								}
							}
						}
					}
				}
				else = {
					if = {
						limit = { current_year <= 192 }
						if = {
							limit = { current_year <= 160 }
							if = {
								limit = { current_year <= 144 }
								if = {
									limit = { current_year <= 136 }
									if = {
										limit = { current_year <= 132 }
										if = {
											limit = { current_year <= 130 }
											if = {
												limit = { current_year = 129 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 131 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 134 }
											if = {
												limit = { current_year = 133 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 135 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 140 }
										if = {
											limit = { current_year <= 138 }
											if = {
												limit = { current_year = 137 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 139 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 142 }
											if = {
												limit = { current_year = 141 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 143 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 152 }
									if = {
										limit = { current_year <= 148 }
										if = {
											limit = { current_year <= 146 }
											if = {
												limit = { current_year = 145 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 147 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 150 }
											if = {
												limit = { current_year = 149 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 151 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 156 }
										if = {
											limit = { current_year <= 154 }
											if = {
												limit = { current_year = 153 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 155 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 158 }
											if = {
												limit = { current_year = 157 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 159 }
											}
											else = {
											}
										}
									}
								}
							}
						}
						else = {
							if = {
								limit = { current_year <= 176 }
								if = {
									limit = { current_year <= 168 }
									if = {
										limit = { current_year <= 164 }
										if = {
											limit = { current_year <= 162 }
											if = {
												limit = { current_year = 161 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 163 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 166 }
											if = {
												limit = { current_year = 165 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 167 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 172 }
										if = {
											limit = { current_year <= 170 }
											if = {
												limit = { current_year = 169 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 171 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 174 }
											if = {
												limit = { current_year = 173 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 175 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 184 }
									if = {
										limit = { current_year <= 180 }
										if = {
											limit = { current_year <= 178 }
											if = {
												limit = { current_year = 177 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 179 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 182 }
											if = {
												limit = { current_year = 181 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 183 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 188 }
										if = {
											limit = { current_year <= 186 }
											if = {
												limit = { current_year = 185 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 187 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 190 }
											if = {
												limit = { current_year = 189 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 191 }
											}
											else = {
											}
										}
									}
								}
							}
						}
					}
					else = {
						if = {
							limit = { current_year <= 224 }
							if = {
								limit = { current_year <= 208 }
								if = {
									limit = { current_year <= 200 }
									if = {
										limit = { current_year <= 196 }
										if = {
											limit = { current_year <= 194 }
											if = {
												limit = { current_year = 193 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 195 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 198 }
											if = {
												limit = { current_year = 197 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 199 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 204 }
										if = {
											limit = { current_year <= 202 }
											if = {
												limit = { current_year = 201 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 203 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 206 }
											if = {
												limit = { current_year = 205 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 207 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 216 }
									if = {
										limit = { current_year <= 212 }
										if = {
											limit = { current_year <= 210 }
											if = {
												limit = { current_year = 209 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 211 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 214 }
											if = {
												limit = { current_year = 213 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 215 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 220 }
										if = {
											limit = { current_year <= 218 }
											if = {
												limit = { current_year = 217 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 219 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 222 }
											if = {
												limit = { current_year = 221 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 223 }
											}
											else = {
											}
										}
									}
								}
							}
						}
						else = {
							if = {
								limit = { current_year <= 240 }
								if = {
									limit = { current_year <= 232 }
									if = {
										limit = { current_year <= 228 }
										if = {
											limit = { current_year <= 226 }
											if = {
												limit = { current_year = 225 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 227 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 230 }
											if = {
												limit = { current_year = 229 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 231 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 236 }
										if = {
											limit = { current_year <= 234 }
											if = {
												limit = { current_year = 233 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 235 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 238 }
											if = {
												limit = { current_year = 237 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 239 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 248 }
									if = {
										limit = { current_year <= 244 }
										if = {
											limit = { current_year <= 242 }
											if = {
												limit = { current_year = 241 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 243 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 246 }
											if = {
												limit = { current_year = 245 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 247 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 252 }
										if = {
											limit = { current_year <= 250 }
											if = {
												limit = { current_year = 249 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 251 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 254 }
											if = {
												limit = { current_year = 253 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 255 }
											}
											else = {
											}
										}
									}
								}
							}
						}
					}
				}
			}
			else = {
				if = {
					limit = { current_year <= 384 }
					if = {
						limit = { current_year <= 320 }
						if = {
							limit = { current_year <= 288 }
							if = {
								limit = { current_year <= 272 }
								if = {
									limit = { current_year <= 264 }
									if = {
										limit = { current_year <= 260 }
										if = {
											limit = { current_year <= 258 }
											if = {
												limit = { current_year = 257 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 259 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 262 }
											if = {
												limit = { current_year = 261 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 263 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 268 }
										if = {
											limit = { current_year <= 266 }
											if = {
												limit = { current_year = 265 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 267 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 270 }
											if = {
												limit = { current_year = 269 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 271 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 280 }
									if = {
										limit = { current_year <= 276 }
										if = {
											limit = { current_year <= 274 }
											if = {
												limit = { current_year = 273 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 275 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 278 }
											if = {
												limit = { current_year = 277 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 279 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 284 }
										if = {
											limit = { current_year <= 282 }
											if = {
												limit = { current_year = 281 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 283 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 286 }
											if = {
												limit = { current_year = 285 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 287 }
											}
											else = {
											}
										}
									}
								}
							}
						}
						else = {
							if = {
								limit = { current_year <= 304 }
								if = {
									limit = { current_year <= 296 }
									if = {
										limit = { current_year <= 292 }
										if = {
											limit = { current_year <= 290 }
											if = {
												limit = { current_year = 289 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 291 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 294 }
											if = {
												limit = { current_year = 293 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 295 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 300 }
										if = {
											limit = { current_year <= 298 }
											if = {
												limit = { current_year = 297 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 299 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 302 }
											if = {
												limit = { current_year = 301 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 303 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 312 }
									if = {
										limit = { current_year <= 308 }
										if = {
											limit = { current_year <= 306 }
											if = {
												limit = { current_year = 305 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 307 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 310 }
											if = {
												limit = { current_year = 309 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 311 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 316 }
										if = {
											limit = { current_year <= 314 }
											if = {
												limit = { current_year = 313 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 315 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 318 }
											if = {
												limit = { current_year = 317 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 319 }
											}
											else = {
											}
										}
									}
								}
							}
						}
					}
					else = {
						if = {
							limit = { current_year <= 352 }
							if = {
								limit = { current_year <= 336 }
								if = {
									limit = { current_year <= 328 }
									if = {
										limit = { current_year <= 324 }
										if = {
											limit = { current_year <= 322 }
											if = {
												limit = { current_year = 321 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 323 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 326 }
											if = {
												limit = { current_year = 325 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 327 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 332 }
										if = {
											limit = { current_year <= 330 }
											if = {
												limit = { current_year = 329 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 331 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 334 }
											if = {
												limit = { current_year = 333 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 335 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 344 }
									if = {
										limit = { current_year <= 340 }
										if = {
											limit = { current_year <= 338 }
											if = {
												limit = { current_year = 337 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 339 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 342 }
											if = {
												limit = { current_year = 341 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 343 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 348 }
										if = {
											limit = { current_year <= 346 }
											if = {
												limit = { current_year = 345 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 347 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 350 }
											if = {
												limit = { current_year = 349 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 351 }
											}
											else = {
											}
										}
									}
								}
							}
						}
						else = {
							if = {
								limit = { current_year <= 368 }
								if = {
									limit = { current_year <= 360 }
									if = {
										limit = { current_year <= 356 }
										if = {
											limit = { current_year <= 354 }
											if = {
												limit = { current_year = 353 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 355 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 358 }
											if = {
												limit = { current_year = 357 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 359 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 364 }
										if = {
											limit = { current_year <= 362 }
											if = {
												limit = { current_year = 361 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 363 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 366 }
											if = {
												limit = { current_year = 365 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 367 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 376 }
									if = {
										limit = { current_year <= 372 }
										if = {
											limit = { current_year <= 370 }
											if = {
												limit = { current_year = 369 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 371 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 374 }
											if = {
												limit = { current_year = 373 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 375 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 380 }
										if = {
											limit = { current_year <= 378 }
											if = {
												limit = { current_year = 377 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 379 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 382 }
											if = {
												limit = { current_year = 381 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 383 }
											}
											else = {
											}
										}
									}
								}
							}
						}
					}
				}
				else = {
					if = {
						limit = { current_year <= 448 }
						if = {
							limit = { current_year <= 416 }
							if = {
								limit = { current_year <= 400 }
								if = {
									limit = { current_year <= 392 }
									if = {
										limit = { current_year <= 388 }
										if = {
											limit = { current_year <= 386 }
											if = {
												limit = { current_year = 385 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 387 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 390 }
											if = {
												limit = { current_year = 389 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 391 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 396 }
										if = {
											limit = { current_year <= 394 }
											if = {
												limit = { current_year = 393 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 395 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 398 }
											if = {
												limit = { current_year = 397 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 399 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 408 }
									if = {
										limit = { current_year <= 404 }
										if = {
											limit = { current_year <= 402 }
											if = {
												limit = { current_year = 401 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 403 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 406 }
											if = {
												limit = { current_year = 405 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 407 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 412 }
										if = {
											limit = { current_year <= 410 }
											if = {
												limit = { current_year = 409 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 411 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 414 }
											if = {
												limit = { current_year = 413 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 415 }
											}
											else = {
											}
										}
									}
								}
							}
						}
						else = {
							if = {
								limit = { current_year <= 432 }
								if = {
									limit = { current_year <= 424 }
									if = {
										limit = { current_year <= 420 }
										if = {
											limit = { current_year <= 418 }
											if = {
												limit = { current_year = 417 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 419 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 422 }
											if = {
												limit = { current_year = 421 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 423 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 428 }
										if = {
											limit = { current_year <= 426 }
											if = {
												limit = { current_year = 425 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 427 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 430 }
											if = {
												limit = { current_year = 429 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 431 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 440 }
									if = {
										limit = { current_year <= 436 }
										if = {
											limit = { current_year <= 434 }
											if = {
												limit = { current_year = 433 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 435 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 438 }
											if = {
												limit = { current_year = 437 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 439 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 444 }
										if = {
											limit = { current_year <= 442 }
											if = {
												limit = { current_year = 441 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 443 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 446 }
											if = {
												limit = { current_year = 445 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 447 }
											}
											else = {
											}
										}
									}
								}
							}
						}
					}
					else = {
						if = {
							limit = { current_year <= 480 }
							if = {
								limit = { current_year <= 464 }
								if = {
									limit = { current_year <= 456 }
									if = {
										limit = { current_year <= 452 }
										if = {
											limit = { current_year <= 450 }
											if = {
												limit = { current_year = 449 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 451 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 454 }
											if = {
												limit = { current_year = 453 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 455 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 460 }
										if = {
											limit = { current_year <= 458 }
											if = {
												limit = { current_year = 457 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 459 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 462 }
											if = {
												limit = { current_year = 461 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 463 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 472 }
									if = {
										limit = { current_year <= 468 }
										if = {
											limit = { current_year <= 466 }
											if = {
												limit = { current_year = 465 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 467 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 470 }
											if = {
												limit = { current_year = 469 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 471 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 476 }
										if = {
											limit = { current_year <= 474 }
											if = {
												limit = { current_year = 473 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 475 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 478 }
											if = {
												limit = { current_year = 477 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 479 }
											}
											else = {
											}
										}
									}
								}
							}
						}
						else = {
							if = {
								limit = { current_year <= 496 }
								if = {
									limit = { current_year <= 488 }
									if = {
										limit = { current_year <= 484 }
										if = {
											limit = { current_year <= 482 }
											if = {
												limit = { current_year = 481 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 483 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 486 }
											if = {
												limit = { current_year = 485 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 487 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 492 }
										if = {
											limit = { current_year <= 490 }
											if = {
												limit = { current_year = 489 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 491 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 494 }
											if = {
												limit = { current_year = 493 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 495 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 504 }
									if = {
										limit = { current_year <= 500 }
										if = {
											limit = { current_year <= 498 }
											if = {
												limit = { current_year = 497 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 499 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 502 }
											if = {
												limit = { current_year = 501 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 503 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 508 }
										if = {
											limit = { current_year <= 506 }
											if = {
												limit = { current_year = 505 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 507 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 510 }
											if = {
												limit = { current_year = 509 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 511 }
											}
											else = {
											}
										}
									}
								}
							}
						}
					}
				}
			}
		}
		else = {
			if = {
				limit = { current_year <= 768 }
				if = {
					limit = { current_year <= 640 }
					if = {
						limit = { current_year <= 576 }
						if = {
							limit = { current_year <= 544 }
							if = {
								limit = { current_year <= 528 }
								if = {
									limit = { current_year <= 520 }
									if = {
										limit = { current_year <= 516 }
										if = {
											limit = { current_year <= 514 }
											if = {
												limit = { current_year = 513 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 515 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 518 }
											if = {
												limit = { current_year = 517 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 519 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 524 }
										if = {
											limit = { current_year <= 522 }
											if = {
												limit = { current_year = 521 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 523 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 526 }
											if = {
												limit = { current_year = 525 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 527 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 536 }
									if = {
										limit = { current_year <= 532 }
										if = {
											limit = { current_year <= 530 }
											if = {
												limit = { current_year = 529 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 531 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 534 }
											if = {
												limit = { current_year = 533 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 535 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 540 }
										if = {
											limit = { current_year <= 538 }
											if = {
												limit = { current_year = 537 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 539 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 542 }
											if = {
												limit = { current_year = 541 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 543 }
											}
											else = {
											}
										}
									}
								}
							}
						}
						else = {
							if = {
								limit = { current_year <= 560 }
								if = {
									limit = { current_year <= 552 }
									if = {
										limit = { current_year <= 548 }
										if = {
											limit = { current_year <= 546 }
											if = {
												limit = { current_year = 545 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 547 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 550 }
											if = {
												limit = { current_year = 549 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 551 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 556 }
										if = {
											limit = { current_year <= 554 }
											if = {
												limit = { current_year = 553 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 555 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 558 }
											if = {
												limit = { current_year = 557 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 559 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 568 }
									if = {
										limit = { current_year <= 564 }
										if = {
											limit = { current_year <= 562 }
											if = {
												limit = { current_year = 561 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 563 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 566 }
											if = {
												limit = { current_year = 565 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 567 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 572 }
										if = {
											limit = { current_year <= 570 }
											if = {
												limit = { current_year = 569 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 571 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 574 }
											if = {
												limit = { current_year = 573 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 575 }
											}
											else = {
											}
										}
									}
								}
							}
						}
					}
					else = {
						if = {
							limit = { current_year <= 608 }
							if = {
								limit = { current_year <= 592 }
								if = {
									limit = { current_year <= 584 }
									if = {
										limit = { current_year <= 580 }
										if = {
											limit = { current_year <= 578 }
											if = {
												limit = { current_year = 577 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 579 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 582 }
											if = {
												limit = { current_year = 581 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 583 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 588 }
										if = {
											limit = { current_year <= 586 }
											if = {
												limit = { current_year = 585 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 587 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 590 }
											if = {
												limit = { current_year = 589 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 591 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 600 }
									if = {
										limit = { current_year <= 596 }
										if = {
											limit = { current_year <= 594 }
											if = {
												limit = { current_year = 593 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 595 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 598 }
											if = {
												limit = { current_year = 597 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 599 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 604 }
										if = {
											limit = { current_year <= 602 }
											if = {
												limit = { current_year = 601 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 603 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 606 }
											if = {
												limit = { current_year = 605 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 607 }
											}
											else = {
											}
										}
									}
								}
							}
						}
						else = {
							if = {
								limit = { current_year <= 624 }
								if = {
									limit = { current_year <= 616 }
									if = {
										limit = { current_year <= 612 }
										if = {
											limit = { current_year <= 610 }
											if = {
												limit = { current_year = 609 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 611 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 614 }
											if = {
												limit = { current_year = 613 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 615 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 620 }
										if = {
											limit = { current_year <= 618 }
											if = {
												limit = { current_year = 617 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 619 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 622 }
											if = {
												limit = { current_year = 621 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 623 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 632 }
									if = {
										limit = { current_year <= 628 }
										if = {
											limit = { current_year <= 626 }
											if = {
												limit = { current_year = 625 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 627 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 630 }
											if = {
												limit = { current_year = 629 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 631 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 636 }
										if = {
											limit = { current_year <= 634 }
											if = {
												limit = { current_year = 633 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 635 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 638 }
											if = {
												limit = { current_year = 637 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 639 }
											}
											else = {
											}
										}
									}
								}
							}
						}
					}
				}
				else = {
					if = {
						limit = { current_year <= 704 }
						if = {
							limit = { current_year <= 672 }
							if = {
								limit = { current_year <= 656 }
								if = {
									limit = { current_year <= 648 }
									if = {
										limit = { current_year <= 644 }
										if = {
											limit = { current_year <= 642 }
											if = {
												limit = { current_year = 641 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 643 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 646 }
											if = {
												limit = { current_year = 645 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 647 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 652 }
										if = {
											limit = { current_year <= 650 }
											if = {
												limit = { current_year = 649 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 651 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 654 }
											if = {
												limit = { current_year = 653 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 655 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 664 }
									if = {
										limit = { current_year <= 660 }
										if = {
											limit = { current_year <= 658 }
											if = {
												limit = { current_year = 657 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 659 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 662 }
											if = {
												limit = { current_year = 661 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 663 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 668 }
										if = {
											limit = { current_year <= 666 }
											if = {
												limit = { current_year = 665 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 667 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 670 }
											if = {
												limit = { current_year = 669 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 671 }
											}
											else = {
											}
										}
									}
								}
							}
						}
						else = {
							if = {
								limit = { current_year <= 688 }
								if = {
									limit = { current_year <= 680 }
									if = {
										limit = { current_year <= 676 }
										if = {
											limit = { current_year <= 674 }
											if = {
												limit = { current_year = 673 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 675 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 678 }
											if = {
												limit = { current_year = 677 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 679 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 684 }
										if = {
											limit = { current_year <= 682 }
											if = {
												limit = { current_year = 681 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 683 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 686 }
											if = {
												limit = { current_year = 685 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 687 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 696 }
									if = {
										limit = { current_year <= 692 }
										if = {
											limit = { current_year <= 690 }
											if = {
												limit = { current_year = 689 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 691 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 694 }
											if = {
												limit = { current_year = 693 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 695 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 700 }
										if = {
											limit = { current_year <= 698 }
											if = {
												limit = { current_year = 697 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 699 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 702 }
											if = {
												limit = { current_year = 701 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 703 }
											}
											else = {
											}
										}
									}
								}
							}
						}
					}
					else = {
						if = {
							limit = { current_year <= 736 }
							if = {
								limit = { current_year <= 720 }
								if = {
									limit = { current_year <= 712 }
									if = {
										limit = { current_year <= 708 }
										if = {
											limit = { current_year <= 706 }
											if = {
												limit = { current_year = 705 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 707 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 710 }
											if = {
												limit = { current_year = 709 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 711 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 716 }
										if = {
											limit = { current_year <= 714 }
											if = {
												limit = { current_year = 713 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 715 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 718 }
											if = {
												limit = { current_year = 717 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 719 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 728 }
									if = {
										limit = { current_year <= 724 }
										if = {
											limit = { current_year <= 722 }
											if = {
												limit = { current_year = 721 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 723 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 726 }
											if = {
												limit = { current_year = 725 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 727 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 732 }
										if = {
											limit = { current_year <= 730 }
											if = {
												limit = { current_year = 729 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 731 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 734 }
											if = {
												limit = { current_year = 733 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 735 }
											}
											else = {
											}
										}
									}
								}
							}
						}
						else = {
							if = {
								limit = { current_year <= 752 }
								if = {
									limit = { current_year <= 744 }
									if = {
										limit = { current_year <= 740 }
										if = {
											limit = { current_year <= 738 }
											if = {
												limit = { current_year = 737 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 739 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 742 }
											if = {
												limit = { current_year = 741 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 743 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 748 }
										if = {
											limit = { current_year <= 746 }
											if = {
												limit = { current_year = 745 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 747 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 750 }
											if = {
												limit = { current_year = 749 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 751 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 760 }
									if = {
										limit = { current_year <= 756 }
										if = {
											limit = { current_year <= 754 }
											if = {
												limit = { current_year = 753 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 755 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 758 }
											if = {
												limit = { current_year = 757 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 759 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 764 }
										if = {
											limit = { current_year <= 762 }
											if = {
												limit = { current_year = 761 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 763 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 766 }
											if = {
												limit = { current_year = 765 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 767 }
											}
											else = {
											}
										}
									}
								}
							}
						}
					}
				}
			}
			else = {
				if = {
					limit = { current_year <= 896 }
					if = {
						limit = { current_year <= 832 }
						if = {
							limit = { current_year <= 800 }
							if = {
								limit = { current_year <= 784 }
								if = {
									limit = { current_year <= 776 }
									if = {
										limit = { current_year <= 772 }
										if = {
											limit = { current_year <= 770 }
											if = {
												limit = { current_year = 769 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 771 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 774 }
											if = {
												limit = { current_year = 773 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 775 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 780 }
										if = {
											limit = { current_year <= 778 }
											if = {
												limit = { current_year = 777 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 779 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 782 }
											if = {
												limit = { current_year = 781 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 783 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 792 }
									if = {
										limit = { current_year <= 788 }
										if = {
											limit = { current_year <= 786 }
											if = {
												limit = { current_year = 785 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 787 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 790 }
											if = {
												limit = { current_year = 789 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 791 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 796 }
										if = {
											limit = { current_year <= 794 }
											if = {
												limit = { current_year = 793 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 795 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 798 }
											if = {
												limit = { current_year = 797 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 799 }
											}
											else = {
											}
										}
									}
								}
							}
						}
						else = {
							if = {
								limit = { current_year <= 816 }
								if = {
									limit = { current_year <= 808 }
									if = {
										limit = { current_year <= 804 }
										if = {
											limit = { current_year <= 802 }
											if = {
												limit = { current_year = 801 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 803 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 806 }
											if = {
												limit = { current_year = 805 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 807 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 812 }
										if = {
											limit = { current_year <= 810 }
											if = {
												limit = { current_year = 809 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 811 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 814 }
											if = {
												limit = { current_year = 813 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 815 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 824 }
									if = {
										limit = { current_year <= 820 }
										if = {
											limit = { current_year <= 818 }
											if = {
												limit = { current_year = 817 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 819 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 822 }
											if = {
												limit = { current_year = 821 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 823 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 828 }
										if = {
											limit = { current_year <= 826 }
											if = {
												limit = { current_year = 825 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 827 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 830 }
											if = {
												limit = { current_year = 829 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 831 }
											}
											else = {
											}
										}
									}
								}
							}
						}
					}
					else = {
						if = {
							limit = { current_year <= 864 }
							if = {
								limit = { current_year <= 848 }
								if = {
									limit = { current_year <= 840 }
									if = {
										limit = { current_year <= 836 }
										if = {
											limit = { current_year <= 834 }
											if = {
												limit = { current_year = 833 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 835 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 838 }
											if = {
												limit = { current_year = 837 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 839 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 844 }
										if = {
											limit = { current_year <= 842 }
											if = {
												limit = { current_year = 841 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 843 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 846 }
											if = {
												limit = { current_year = 845 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 847 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 856 }
									if = {
										limit = { current_year <= 852 }
										if = {
											limit = { current_year <= 850 }
											if = {
												limit = { current_year = 849 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 851 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 854 }
											if = {
												limit = { current_year = 853 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 855 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 860 }
										if = {
											limit = { current_year <= 858 }
											if = {
												limit = { current_year = 857 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 859 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 862 }
											if = {
												limit = { current_year = 861 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 863 }
											}
											else = {
											}
										}
									}
								}
							}
						}
						else = {
							if = {
								limit = { current_year <= 880 }
								if = {
									limit = { current_year <= 872 }
									if = {
										limit = { current_year <= 868 }
										if = {
											limit = { current_year <= 866 }
											if = {
												limit = { current_year = 865 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 867 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 870 }
											if = {
												limit = { current_year = 869 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 871 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 876 }
										if = {
											limit = { current_year <= 874 }
											if = {
												limit = { current_year = 873 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 875 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 878 }
											if = {
												limit = { current_year = 877 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 879 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 888 }
									if = {
										limit = { current_year <= 884 }
										if = {
											limit = { current_year <= 882 }
											if = {
												limit = { current_year = 881 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 883 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 886 }
											if = {
												limit = { current_year = 885 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 887 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 892 }
										if = {
											limit = { current_year <= 890 }
											if = {
												limit = { current_year = 889 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 891 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 894 }
											if = {
												limit = { current_year = 893 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 895 }
											}
											else = {
											}
										}
									}
								}
							}
						}
					}
				}
				else = {
					if = {
						limit = { current_year <= 960 }
						if = {
							limit = { current_year <= 928 }
							if = {
								limit = { current_year <= 912 }
								if = {
									limit = { current_year <= 904 }
									if = {
										limit = { current_year <= 900 }
										if = {
											limit = { current_year <= 898 }
											if = {
												limit = { current_year = 897 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 899 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 902 }
											if = {
												limit = { current_year = 901 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 903 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 908 }
										if = {
											limit = { current_year <= 906 }
											if = {
												limit = { current_year = 905 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 907 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 910 }
											if = {
												limit = { current_year = 909 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 911 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 920 }
									if = {
										limit = { current_year <= 916 }
										if = {
											limit = { current_year <= 914 }
											if = {
												limit = { current_year = 913 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 915 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 918 }
											if = {
												limit = { current_year = 917 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 919 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 924 }
										if = {
											limit = { current_year <= 922 }
											if = {
												limit = { current_year = 921 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 923 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 926 }
											if = {
												limit = { current_year = 925 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 927 }
											}
											else = {
											}
										}
									}
								}
							}
						}
						else = {
							if = {
								limit = { current_year <= 944 }
								if = {
									limit = { current_year <= 936 }
									if = {
										limit = { current_year <= 932 }
										if = {
											limit = { current_year <= 930 }
											if = {
												limit = { current_year = 929 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 931 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 934 }
											if = {
												limit = { current_year = 933 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 935 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 940 }
										if = {
											limit = { current_year <= 938 }
											if = {
												limit = { current_year = 937 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 939 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 942 }
											if = {
												limit = { current_year = 941 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 943 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 952 }
									if = {
										limit = { current_year <= 948 }
										if = {
											limit = { current_year <= 946 }
											if = {
												limit = { current_year = 945 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 947 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 950 }
											if = {
												limit = { current_year = 949 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 951 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 956 }
										if = {
											limit = { current_year <= 954 }
											if = {
												limit = { current_year = 953 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 955 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 958 }
											if = {
												limit = { current_year = 957 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 959 }
											}
											else = {
											}
										}
									}
								}
							}
						}
					}
					else = {
						if = {
							limit = { current_year <= 992 }
							if = {
								limit = { current_year <= 976 }
								if = {
									limit = { current_year <= 968 }
									if = {
										limit = { current_year <= 964 }
										if = {
											limit = { current_year <= 962 }
											if = {
												limit = { current_year = 961 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 963 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 966 }
											if = {
												limit = { current_year = 965 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 967 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 972 }
										if = {
											limit = { current_year <= 970 }
											if = {
												limit = { current_year = 969 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 971 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 974 }
											if = {
												limit = { current_year = 973 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 975 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 984 }
									if = {
										limit = { current_year <= 980 }
										if = {
											limit = { current_year <= 978 }
											if = {
												limit = { current_year = 977 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 979 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 982 }
											if = {
												limit = { current_year = 981 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 983 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 988 }
										if = {
											limit = { current_year <= 986 }
											if = {
												limit = { current_year = 985 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 987 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 990 }
											if = {
												limit = { current_year = 989 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 991 }
											}
											else = {
											}
										}
									}
								}
							}
						}
						else = {
							if = {
								limit = { current_year <= 1008 }
								if = {
									limit = { current_year <= 1000 }
									if = {
										limit = { current_year <= 996 }
										if = {
											limit = { current_year <= 994 }
											if = {
												limit = { current_year = 993 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 995 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 998 }
											if = {
												limit = { current_year = 997 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 999 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1004 }
										if = {
											limit = { current_year <= 1002 }
											if = {
												limit = { current_year = 1001 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1003 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1006 }
											if = {
												limit = { current_year = 1005 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1007 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 1016 }
									if = {
										limit = { current_year <= 1012 }
										if = {
											limit = { current_year <= 1010 }
											if = {
												limit = { current_year = 1009 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1011 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1014 }
											if = {
												limit = { current_year = 1013 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1015 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1020 }
										if = {
											limit = { current_year <= 1018 }
											if = {
												limit = { current_year = 1017 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1019 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1022 }
											if = {
												limit = { current_year = 1021 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1023 }
											}
											else = {
											}
										}
									}
								}
							}
						}
					}
				}
			}
		}
	}
	else = {
		if = {
			limit = { current_year <= 1536 }
			if = {
				limit = { current_year <= 1280 }
				if = {
					limit = { current_year <= 1152 }
					if = {
						limit = { current_year <= 1088 }
						if = {
							limit = { current_year <= 1056 }
							if = {
								limit = { current_year <= 1040 }
								if = {
									limit = { current_year <= 1032 }
									if = {
										limit = { current_year <= 1028 }
										if = {
											limit = { current_year <= 1026 }
											if = {
												limit = { current_year = 1025 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1027 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1030 }
											if = {
												limit = { current_year = 1029 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1031 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1036 }
										if = {
											limit = { current_year <= 1034 }
											if = {
												limit = { current_year = 1033 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1035 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1038 }
											if = {
												limit = { current_year = 1037 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1039 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 1048 }
									if = {
										limit = { current_year <= 1044 }
										if = {
											limit = { current_year <= 1042 }
											if = {
												limit = { current_year = 1041 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1043 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1046 }
											if = {
												limit = { current_year = 1045 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1047 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1052 }
										if = {
											limit = { current_year <= 1050 }
											if = {
												limit = { current_year = 1049 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1051 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1054 }
											if = {
												limit = { current_year = 1053 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1055 }
											}
											else = {
											}
										}
									}
								}
							}
						}
						else = {
							if = {
								limit = { current_year <= 1072 }
								if = {
									limit = { current_year <= 1064 }
									if = {
										limit = { current_year <= 1060 }
										if = {
											limit = { current_year <= 1058 }
											if = {
												limit = { current_year = 1057 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1059 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1062 }
											if = {
												limit = { current_year = 1061 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1063 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1068 }
										if = {
											limit = { current_year <= 1066 }
											if = {
												limit = { current_year = 1065 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1067 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1070 }
											if = {
												limit = { current_year = 1069 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1071 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 1080 }
									if = {
										limit = { current_year <= 1076 }
										if = {
											limit = { current_year <= 1074 }
											if = {
												limit = { current_year = 1073 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1075 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1078 }
											if = {
												limit = { current_year = 1077 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1079 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1084 }
										if = {
											limit = { current_year <= 1082 }
											if = {
												limit = { current_year = 1081 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1083 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1086 }
											if = {
												limit = { current_year = 1085 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1087 }
											}
											else = {
											}
										}
									}
								}
							}
						}
					}
					else = {
						if = {
							limit = { current_year <= 1120 }
							if = {
								limit = { current_year <= 1104 }
								if = {
									limit = { current_year <= 1096 }
									if = {
										limit = { current_year <= 1092 }
										if = {
											limit = { current_year <= 1090 }
											if = {
												limit = { current_year = 1089 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1091 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1094 }
											if = {
												limit = { current_year = 1093 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1095 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1100 }
										if = {
											limit = { current_year <= 1098 }
											if = {
												limit = { current_year = 1097 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1099 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1102 }
											if = {
												limit = { current_year = 1101 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1103 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 1112 }
									if = {
										limit = { current_year <= 1108 }
										if = {
											limit = { current_year <= 1106 }
											if = {
												limit = { current_year = 1105 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1107 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1110 }
											if = {
												limit = { current_year = 1109 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1111 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1116 }
										if = {
											limit = { current_year <= 1114 }
											if = {
												limit = { current_year = 1113 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1115 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1118 }
											if = {
												limit = { current_year = 1117 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1119 }
											}
											else = {
											}
										}
									}
								}
							}
						}
						else = {
							if = {
								limit = { current_year <= 1136 }
								if = {
									limit = { current_year <= 1128 }
									if = {
										limit = { current_year <= 1124 }
										if = {
											limit = { current_year <= 1122 }
											if = {
												limit = { current_year = 1121 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1123 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1126 }
											if = {
												limit = { current_year = 1125 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1127 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1132 }
										if = {
											limit = { current_year <= 1130 }
											if = {
												limit = { current_year = 1129 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1131 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1134 }
											if = {
												limit = { current_year = 1133 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1135 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 1144 }
									if = {
										limit = { current_year <= 1140 }
										if = {
											limit = { current_year <= 1138 }
											if = {
												limit = { current_year = 1137 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1139 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1142 }
											if = {
												limit = { current_year = 1141 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1143 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1148 }
										if = {
											limit = { current_year <= 1146 }
											if = {
												limit = { current_year = 1145 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1147 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1150 }
											if = {
												limit = { current_year = 1149 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1151 }
											}
											else = {
											}
										}
									}
								}
							}
						}
					}
				}
				else = {
					if = {
						limit = { current_year <= 1216 }
						if = {
							limit = { current_year <= 1184 }
							if = {
								limit = { current_year <= 1168 }
								if = {
									limit = { current_year <= 1160 }
									if = {
										limit = { current_year <= 1156 }
										if = {
											limit = { current_year <= 1154 }
											if = {
												limit = { current_year = 1153 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1155 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1158 }
											if = {
												limit = { current_year = 1157 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1159 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1164 }
										if = {
											limit = { current_year <= 1162 }
											if = {
												limit = { current_year = 1161 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1163 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1166 }
											if = {
												limit = { current_year = 1165 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1167 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 1176 }
									if = {
										limit = { current_year <= 1172 }
										if = {
											limit = { current_year <= 1170 }
											if = {
												limit = { current_year = 1169 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1171 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1174 }
											if = {
												limit = { current_year = 1173 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1175 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1180 }
										if = {
											limit = { current_year <= 1178 }
											if = {
												limit = { current_year = 1177 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1179 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1180
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1182 }
											if = {
												limit = { current_year = 1181 }
												trigger_event = historical_figure_check_change_first_name.1181
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1183 }
												trigger_event = historical_figure_check_change_first_name.1183
											}
											else = {
											}
										}
									}
								}
							}
						}
						else = {
							if = {
								limit = { current_year <= 1200 }
								if = {
									limit = { current_year <= 1192 }
									if = {
										limit = { current_year <= 1188 }
										if = {
											limit = { current_year <= 1186 }
											if = {
												limit = { current_year = 1185 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1187 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1190 }
											if = {
												limit = { current_year = 1189 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1191 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1196 }
										if = {
											limit = { current_year <= 1194 }
											if = {
												limit = { current_year = 1193 }
												trigger_event = historical_figure_check_change_first_name.1193
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1195 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1198 }
											if = {
												limit = { current_year = 1197 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1198
											}
										}
										else = {
											if = {
												limit = { current_year = 1199 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 1208 }
									if = {
										limit = { current_year <= 1204 }
										if = {
											limit = { current_year <= 1202 }
											if = {
												limit = { current_year = 1201 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1202
											}
										}
										else = {
											if = {
												limit = { current_year = 1203 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1206 }
											if = {
												limit = { current_year = 1205 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1207 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1212 }
										if = {
											limit = { current_year <= 1210 }
											if = {
												limit = { current_year = 1209 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1210
											}
										}
										else = {
											if = {
												limit = { current_year = 1211 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1214 }
											if = {
												limit = { current_year = 1213 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1214
											}
										}
										else = {
											if = {
												limit = { current_year = 1215 }
											}
											else = {
											}
										}
									}
								}
							}
						}
					}
					else = {
						if = {
							limit = { current_year <= 1248 }
							if = {
								limit = { current_year <= 1232 }
								if = {
									limit = { current_year <= 1224 }
									if = {
										limit = { current_year <= 1220 }
										if = {
											limit = { current_year <= 1218 }
											if = {
												limit = { current_year = 1217 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1219 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1220
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1222 }
											if = {
												limit = { current_year = 1221 }
												trigger_event = historical_figure_check_change_first_name.1221
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1223 }
												trigger_event = historical_figure_check_change_first_name.1223
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1228 }
										if = {
											limit = { current_year <= 1226 }
											if = {
												limit = { current_year = 1225 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1227 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1230 }
											if = {
												limit = { current_year = 1229 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1230
											}
										}
										else = {
											if = {
												limit = { current_year = 1231 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1232
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 1240 }
									if = {
										limit = { current_year <= 1236 }
										if = {
											limit = { current_year <= 1234 }
											if = {
												limit = { current_year = 1233 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1235 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1238 }
											if = {
												limit = { current_year = 1237 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1239 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1244 }
										if = {
											limit = { current_year <= 1242 }
											if = {
												limit = { current_year = 1241 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1242
											}
										}
										else = {
											if = {
												limit = { current_year = 1243 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1246 }
											if = {
												limit = { current_year = 1245 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1246
											}
										}
										else = {
											if = {
												limit = { current_year = 1247 }
											}
											else = {
											}
										}
									}
								}
							}
						}
						else = {
							if = {
								limit = { current_year <= 1264 }
								if = {
									limit = { current_year <= 1256 }
									if = {
										limit = { current_year <= 1252 }
										if = {
											limit = { current_year <= 1250 }
											if = {
												limit = { current_year = 1249 }
												trigger_event = historical_figure_check_change_first_name.1249
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1251 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1254 }
											if = {
												limit = { current_year = 1253 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1255 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1260 }
										if = {
											limit = { current_year <= 1258 }
											if = {
												limit = { current_year = 1257 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1259 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1260
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1262 }
											if = {
												limit = { current_year = 1261 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1263 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 1272 }
									if = {
										limit = { current_year <= 1268 }
										if = {
											limit = { current_year <= 1266 }
											if = {
												limit = { current_year = 1265 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1267 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1270 }
											if = {
												limit = { current_year = 1269 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1270
											}
										}
										else = {
											if = {
												limit = { current_year = 1271 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1276 }
										if = {
											limit = { current_year <= 1274 }
											if = {
												limit = { current_year = 1273 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1274
											}
										}
										else = {
											if = {
												limit = { current_year = 1275 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1278 }
											if = {
												limit = { current_year = 1277 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1279 }
											}
											else = {
											}
										}
									}
								}
							}
						}
					}
				}
			}
			else = {
				if = {
					limit = { current_year <= 1408 }
					if = {
						limit = { current_year <= 1344 }
						if = {
							limit = { current_year <= 1312 }
							if = {
								limit = { current_year <= 1296 }
								if = {
									limit = { current_year <= 1288 }
									if = {
										limit = { current_year <= 1284 }
										if = {
											limit = { current_year <= 1282 }
											if = {
												limit = { current_year = 1281 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1283 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1286 }
											if = {
												limit = { current_year = 1285 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1287 }
												trigger_event = historical_figure_check_change_first_name.1287
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1292 }
										if = {
											limit = { current_year <= 1290 }
											if = {
												limit = { current_year = 1289 }
												trigger_event = historical_figure_check_change_first_name.1289
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1291 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1294 }
											if = {
												limit = { current_year = 1293 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1294
											}
										}
										else = {
											if = {
												limit = { current_year = 1295 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 1304 }
									if = {
										limit = { current_year <= 1300 }
										if = {
											limit = { current_year <= 1298 }
											if = {
												limit = { current_year = 1297 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1298
											}
										}
										else = {
											if = {
												limit = { current_year = 1299 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1302 }
											if = {
												limit = { current_year = 1301 }
												trigger_event = historical_figure_check_change_first_name.1301
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1303 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1308 }
										if = {
											limit = { current_year <= 1306 }
											if = {
												limit = { current_year = 1305 }
												trigger_event = historical_figure_check_change_first_name.1305
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1307 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1308
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1310 }
											if = {
												limit = { current_year = 1309 }
												trigger_event = historical_figure_check_change_first_name.1309
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1310
											}
										}
										else = {
											if = {
												limit = { current_year = 1311 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1312
											}
										}
									}
								}
							}
						}
						else = {
							if = {
								limit = { current_year <= 1328 }
								if = {
									limit = { current_year <= 1320 }
									if = {
										limit = { current_year <= 1316 }
										if = {
											limit = { current_year <= 1314 }
											if = {
												limit = { current_year = 1313 }
												trigger_event = historical_figure_check_change_first_name.1313
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1315 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1318 }
											if = {
												limit = { current_year = 1317 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1318
											}
										}
										else = {
											if = {
												limit = { current_year = 1319 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1320
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1324 }
										if = {
											limit = { current_year <= 1322 }
											if = {
												limit = { current_year = 1321 }
												trigger_event = historical_figure_check_change_first_name.1321
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1323 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1326 }
											if = {
												limit = { current_year = 1325 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1326
											}
										}
										else = {
											if = {
												limit = { current_year = 1327 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 1336 }
									if = {
										limit = { current_year <= 1332 }
										if = {
											limit = { current_year <= 1330 }
											if = {
												limit = { current_year = 1329 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1331 }
												trigger_event = historical_figure_check_change_first_name.1331
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1334 }
											if = {
												limit = { current_year = 1333 }
												trigger_event = historical_figure_check_change_first_name.1333
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1335 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1336
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1340 }
										if = {
											limit = { current_year <= 1338 }
											if = {
												limit = { current_year = 1337 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1339 }
												trigger_event = historical_figure_check_change_first_name.1339
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1342 }
											if = {
												limit = { current_year = 1341 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1343 }
											}
											else = {
											}
										}
									}
								}
							}
						}
					}
					else = {
						if = {
							limit = { current_year <= 1376 }
							if = {
								limit = { current_year <= 1360 }
								if = {
									limit = { current_year <= 1352 }
									if = {
										limit = { current_year <= 1348 }
										if = {
											limit = { current_year <= 1346 }
											if = {
												limit = { current_year = 1345 }
												trigger_event = historical_figure_check_change_first_name.1345
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1347 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1348
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1350 }
											if = {
												limit = { current_year = 1349 }
												trigger_event = historical_figure_check_change_first_name.1349
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1350
											}
										}
										else = {
											if = {
												limit = { current_year = 1351 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1352
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1356 }
										if = {
											limit = { current_year <= 1354 }
											if = {
												limit = { current_year = 1353 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1355 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1358 }
											if = {
												limit = { current_year = 1357 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1359 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 1368 }
									if = {
										limit = { current_year <= 1364 }
										if = {
											limit = { current_year <= 1362 }
											if = {
												limit = { current_year = 1361 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1363 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1366 }
											if = {
												limit = { current_year = 1365 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1367 }
												trigger_event = historical_figure_check_change_first_name.1367
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1368
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1372 }
										if = {
											limit = { current_year <= 1370 }
											if = {
												limit = { current_year = 1369 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1371 }
												trigger_event = historical_figure_check_change_first_name.1371
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1374 }
											if = {
												limit = { current_year = 1373 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1375 }
											}
											else = {
											}
										}
									}
								}
							}
						}
						else = {
							if = {
								limit = { current_year <= 1392 }
								if = {
									limit = { current_year <= 1384 }
									if = {
										limit = { current_year <= 1380 }
										if = {
											limit = { current_year <= 1378 }
											if = {
												limit = { current_year = 1377 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1379 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1382 }
											if = {
												limit = { current_year = 1381 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1382
											}
										}
										else = {
											if = {
												limit = { current_year = 1383 }
												trigger_event = historical_figure_check_change_first_name.1383
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1384
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1388 }
										if = {
											limit = { current_year <= 1386 }
											if = {
												limit = { current_year = 1385 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1387 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1390 }
											if = {
												limit = { current_year = 1389 }
												trigger_event = historical_figure_check_change_first_name.1389
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1390
											}
										}
										else = {
											if = {
												limit = { current_year = 1391 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 1400 }
									if = {
										limit = { current_year <= 1396 }
										if = {
											limit = { current_year <= 1394 }
											if = {
												limit = { current_year = 1393 }
												trigger_event = historical_figure_check_change_first_name.1393
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1395 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1398 }
											if = {
												limit = { current_year = 1397 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1398
											}
										}
										else = {
											if = {
												limit = { current_year = 1399 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1400
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1404 }
										if = {
											limit = { current_year <= 1402 }
											if = {
												limit = { current_year = 1401 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1402
											}
										}
										else = {
											if = {
												limit = { current_year = 1403 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1404
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1406 }
											if = {
												limit = { current_year = 1405 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1407 }
												trigger_event = historical_figure_check_change_first_name.1407
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1408
											}
										}
									}
								}
							}
						}
					}
				}
				else = {
					if = {
						limit = { current_year <= 1472 }
						if = {
							limit = { current_year <= 1440 }
							if = {
								limit = { current_year <= 1424 }
								if = {
									limit = { current_year <= 1416 }
									if = {
										limit = { current_year <= 1412 }
										if = {
											limit = { current_year <= 1410 }
											if = {
												limit = { current_year = 1409 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1411 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1412
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1414 }
											if = {
												limit = { current_year = 1413 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1415 }
												trigger_event = historical_figure_check_change_first_name.1415
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1420 }
										if = {
											limit = { current_year <= 1418 }
											if = {
												limit = { current_year = 1417 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1418
											}
										}
										else = {
											if = {
												limit = { current_year = 1419 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1422 }
											if = {
												limit = { current_year = 1421 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1423 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 1432 }
									if = {
										limit = { current_year <= 1428 }
										if = {
											limit = { current_year <= 1426 }
											if = {
												limit = { current_year = 1425 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1427 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1428
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1430 }
											if = {
												limit = { current_year = 1429 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1431 }
												trigger_event = historical_figure_check_change_first_name.1431
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1432
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1436 }
										if = {
											limit = { current_year <= 1434 }
											if = {
												limit = { current_year = 1433 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1435 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1436
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1438 }
											if = {
												limit = { current_year = 1437 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1439 }
												trigger_event = historical_figure_check_change_first_name.1439
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1440
											}
										}
									}
								}
							}
						}
						else = {
							if = {
								limit = { current_year <= 1456 }
								if = {
									limit = { current_year <= 1448 }
									if = {
										limit = { current_year <= 1444 }
										if = {
											limit = { current_year <= 1442 }
											if = {
												limit = { current_year = 1441 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1442
											}
										}
										else = {
											if = {
												limit = { current_year = 1443 }
												trigger_event = historical_figure_check_change_first_name.1443
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1446 }
											if = {
												limit = { current_year = 1445 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1447 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1448
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1452 }
										if = {
											limit = { current_year <= 1450 }
											if = {
												limit = { current_year = 1449 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1450
											}
										}
										else = {
											if = {
												limit = { current_year = 1451 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1454 }
											if = {
												limit = { current_year = 1453 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1455 }
												trigger_event = historical_figure_check_change_first_name.1455
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1456
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 1464 }
									if = {
										limit = { current_year <= 1460 }
										if = {
											limit = { current_year <= 1458 }
											if = {
												limit = { current_year = 1457 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1458
											}
										}
										else = {
											if = {
												limit = { current_year = 1459 }
												trigger_event = historical_figure_check_change_first_name.1459
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1460
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1462 }
											if = {
												limit = { current_year = 1461 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1462
											}
										}
										else = {
											if = {
												limit = { current_year = 1463 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1464
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1468 }
										if = {
											limit = { current_year <= 1466 }
											if = {
												limit = { current_year = 1465 }
												trigger_event = historical_figure_check_change_first_name.1465
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1467 }
												trigger_event = historical_figure_check_change_first_name.1467
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1470 }
											if = {
												limit = { current_year = 1469 }
												trigger_event = historical_figure_check_change_first_name.1469
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1471 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1472
											}
										}
									}
								}
							}
						}
					}
					else = {
						if = {
							limit = { current_year <= 1504 }
							if = {
								limit = { current_year <= 1488 }
								if = {
									limit = { current_year <= 1480 }
									if = {
										limit = { current_year <= 1476 }
										if = {
											limit = { current_year <= 1474 }
											if = {
												limit = { current_year = 1473 }
												trigger_event = historical_figure_check_change_first_name.1473
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1474
											}
										}
										else = {
											if = {
												limit = { current_year = 1475 }
												trigger_event = historical_figure_check_change_first_name.1475
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1478 }
											if = {
												limit = { current_year = 1477 }
												trigger_event = historical_figure_check_change_first_name.1477
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1478
											}
										}
										else = {
											if = {
												limit = { current_year = 1479 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1480
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1484 }
										if = {
											limit = { current_year <= 1482 }
											if = {
												limit = { current_year = 1481 }
												trigger_event = historical_figure_check_change_first_name.1481
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1483 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1486 }
											if = {
												limit = { current_year = 1485 }
												trigger_event = historical_figure_check_change_first_name.1485
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1487 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 1496 }
									if = {
										limit = { current_year <= 1492 }
										if = {
											limit = { current_year <= 1490 }
											if = {
												limit = { current_year = 1489 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1490
											}
										}
										else = {
											if = {
												limit = { current_year = 1491 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1492
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1494 }
											if = {
												limit = { current_year = 1493 }
												trigger_event = historical_figure_check_change_first_name.1493
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1495 }
												trigger_event = historical_figure_check_change_first_name.1495
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1496
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1500 }
										if = {
											limit = { current_year <= 1498 }
											if = {
												limit = { current_year = 1497 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1498
											}
										}
										else = {
											if = {
												limit = { current_year = 1499 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1500
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1502 }
											if = {
												limit = { current_year = 1501 }
												trigger_event = historical_figure_check_change_first_name.1501
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1502
											}
										}
										else = {
											if = {
												limit = { current_year = 1503 }
												trigger_event = historical_figure_check_change_first_name.1503
											}
											else = {
											}
										}
									}
								}
							}
						}
						else = {
							if = {
								limit = { current_year <= 1520 }
								if = {
									limit = { current_year <= 1512 }
									if = {
										limit = { current_year <= 1508 }
										if = {
											limit = { current_year <= 1506 }
											if = {
												limit = { current_year = 1505 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1507 }
												trigger_event = historical_figure_check_change_first_name.1507
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1508
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1510 }
											if = {
												limit = { current_year = 1509 }
												trigger_event = historical_figure_check_change_first_name.1509
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1511 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1516 }
										if = {
											limit = { current_year <= 1514 }
											if = {
												limit = { current_year = 1513 }
												trigger_event = historical_figure_check_change_first_name.1513
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1514
											}
										}
										else = {
											if = {
												limit = { current_year = 1515 }
												trigger_event = historical_figure_check_change_first_name.1515
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1518 }
											if = {
												limit = { current_year = 1517 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1518
											}
										}
										else = {
											if = {
												limit = { current_year = 1519 }
												trigger_event = historical_figure_check_change_first_name.1519
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1520
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 1528 }
									if = {
										limit = { current_year <= 1524 }
										if = {
											limit = { current_year <= 1522 }
											if = {
												limit = { current_year = 1521 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1523 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1526 }
											if = {
												limit = { current_year = 1525 }
												trigger_event = historical_figure_check_change_first_name.1525
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1526
											}
										}
										else = {
											if = {
												limit = { current_year = 1527 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1532 }
										if = {
											limit = { current_year <= 1530 }
											if = {
												limit = { current_year = 1529 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1530
											}
										}
										else = {
											if = {
												limit = { current_year = 1531 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1532
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1534 }
											if = {
												limit = { current_year = 1533 }
												trigger_event = historical_figure_check_change_first_name.1533
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1534
											}
										}
										else = {
											if = {
												limit = { current_year = 1535 }
												trigger_event = historical_figure_check_change_first_name.1535
											}
											else = {
											}
										}
									}
								}
							}
						}
					}
				}
			}
		}
		else = {
			if = {
				limit = { current_year <= 1792 }
				if = {
					limit = { current_year <= 1664 }
					if = {
						limit = { current_year <= 1600 }
						if = {
							limit = { current_year <= 1568 }
							if = {
								limit = { current_year <= 1552 }
								if = {
									limit = { current_year <= 1544 }
									if = {
										limit = { current_year <= 1540 }
										if = {
											limit = { current_year <= 1538 }
											if = {
												limit = { current_year = 1537 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1538
											}
										}
										else = {
											if = {
												limit = { current_year = 1539 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1540
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1542 }
											if = {
												limit = { current_year = 1541 }
												trigger_event = historical_figure_check_change_first_name.1541
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1543 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1544
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1548 }
										if = {
											limit = { current_year <= 1546 }
											if = {
												limit = { current_year = 1545 }
												trigger_event = historical_figure_check_change_first_name.1545
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1546
											}
										}
										else = {
											if = {
												limit = { current_year = 1547 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1548
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1550 }
											if = {
												limit = { current_year = 1549 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1550
											}
										}
										else = {
											if = {
												limit = { current_year = 1551 }
												trigger_event = historical_figure_check_change_first_name.1551
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 1560 }
									if = {
										limit = { current_year <= 1556 }
										if = {
											limit = { current_year <= 1554 }
											if = {
												limit = { current_year = 1553 }
												trigger_event = historical_figure_check_change_first_name.1553
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1554
											}
										}
										else = {
											if = {
												limit = { current_year = 1555 }
												trigger_event = historical_figure_check_change_first_name.1555
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1556
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1558 }
											if = {
												limit = { current_year = 1557 }
												trigger_event = historical_figure_check_change_first_name.1557
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1558
											}
										}
										else = {
											if = {
												limit = { current_year = 1559 }
												trigger_event = historical_figure_check_change_first_name.1559
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1560
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1564 }
										if = {
											limit = { current_year <= 1562 }
											if = {
												limit = { current_year = 1561 }
												trigger_event = historical_figure_check_change_first_name.1561
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1562
											}
										}
										else = {
											if = {
												limit = { current_year = 1563 }
												trigger_event = historical_figure_check_change_first_name.1563
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1564
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1566 }
											if = {
												limit = { current_year = 1565 }
												trigger_event = historical_figure_check_change_first_name.1565
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1567 }
												trigger_event = historical_figure_check_change_first_name.1567
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1568
											}
										}
									}
								}
							}
						}
						else = {
							if = {
								limit = { current_year <= 1584 }
								if = {
									limit = { current_year <= 1576 }
									if = {
										limit = { current_year <= 1572 }
										if = {
											limit = { current_year <= 1570 }
											if = {
												limit = { current_year = 1569 }
												trigger_event = historical_figure_check_change_first_name.1569
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1570
											}
										}
										else = {
											if = {
												limit = { current_year = 1571 }
												trigger_event = historical_figure_check_change_first_name.1571
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1572
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1574 }
											if = {
												limit = { current_year = 1573 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1574
											}
										}
										else = {
											if = {
												limit = { current_year = 1575 }
												trigger_event = historical_figure_check_change_first_name.1575
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1580 }
										if = {
											limit = { current_year <= 1578 }
											if = {
												limit = { current_year = 1577 }
												trigger_event = historical_figure_check_change_first_name.1577
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1578
											}
										}
										else = {
											if = {
												limit = { current_year = 1579 }
												trigger_event = historical_figure_check_change_first_name.1579
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1580
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1582 }
											if = {
												limit = { current_year = 1581 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1582
											}
										}
										else = {
											if = {
												limit = { current_year = 1583 }
												trigger_event = historical_figure_check_change_first_name.1583
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 1592 }
									if = {
										limit = { current_year <= 1588 }
										if = {
											limit = { current_year <= 1586 }
											if = {
												limit = { current_year = 1585 }
												trigger_event = historical_figure_check_change_first_name.1585
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1586
											}
										}
										else = {
											if = {
												limit = { current_year = 1587 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1588
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1590 }
											if = {
												limit = { current_year = 1589 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1590
											}
										}
										else = {
											if = {
												limit = { current_year = 1591 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1592
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1596 }
										if = {
											limit = { current_year <= 1594 }
											if = {
												limit = { current_year = 1593 }
												trigger_event = historical_figure_check_change_first_name.1593
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1595 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1598 }
											if = {
												limit = { current_year = 1597 }
												trigger_event = historical_figure_check_change_first_name.1597
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1599 }
												trigger_event = historical_figure_check_change_first_name.1599
											}
											else = {
											}
										}
									}
								}
							}
						}
					}
					else = {
						if = {
							limit = { current_year <= 1632 }
							if = {
								limit = { current_year <= 1616 }
								if = {
									limit = { current_year <= 1608 }
									if = {
										limit = { current_year <= 1604 }
										if = {
											limit = { current_year <= 1602 }
											if = {
												limit = { current_year = 1601 }
												trigger_event = historical_figure_check_change_first_name.1601
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1603 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1606 }
											if = {
												limit = { current_year = 1605 }
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1606
											}
										}
										else = {
											if = {
												limit = { current_year = 1607 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1612 }
										if = {
											limit = { current_year <= 1610 }
											if = {
												limit = { current_year = 1609 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1611 }
												trigger_event = historical_figure_check_change_first_name.1611
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1614 }
											if = {
												limit = { current_year = 1613 }
												trigger_event = historical_figure_check_change_first_name.1613
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1614
											}
										}
										else = {
											if = {
												limit = { current_year = 1615 }
												trigger_event = historical_figure_check_change_first_name.1615
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 1624 }
									if = {
										limit = { current_year <= 1620 }
										if = {
											limit = { current_year <= 1618 }
											if = {
												limit = { current_year = 1617 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1619 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1622 }
											if = {
												limit = { current_year = 1621 }
												trigger_event = historical_figure_check_change_first_name.1621
											}
											else = {
												trigger_event = historical_figure_check_change_first_name.1622
											}
										}
										else = {
											if = {
												limit = { current_year = 1623 }
												trigger_event = historical_figure_check_change_first_name.1623
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1628 }
										if = {
											limit = { current_year <= 1626 }
											if = {
												limit = { current_year = 1625 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1627 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1630 }
											if = {
												limit = { current_year = 1629 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1631 }
												trigger_event = historical_figure_check_change_first_name.1631
											}
											else = {
											}
										}
									}
								}
							}
						}
						else = {
							if = {
								limit = { current_year <= 1648 }
								if = {
									limit = { current_year <= 1640 }
									if = {
										limit = { current_year <= 1636 }
										if = {
											limit = { current_year <= 1634 }
											if = {
												limit = { current_year = 1633 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1635 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1638 }
											if = {
												limit = { current_year = 1637 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1639 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1644 }
										if = {
											limit = { current_year <= 1642 }
											if = {
												limit = { current_year = 1641 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1643 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1646 }
											if = {
												limit = { current_year = 1645 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1647 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 1656 }
									if = {
										limit = { current_year <= 1652 }
										if = {
											limit = { current_year <= 1650 }
											if = {
												limit = { current_year = 1649 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1651 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1654 }
											if = {
												limit = { current_year = 1653 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1655 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1660 }
										if = {
											limit = { current_year <= 1658 }
											if = {
												limit = { current_year = 1657 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1659 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1662 }
											if = {
												limit = { current_year = 1661 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1663 }
											}
											else = {
											}
										}
									}
								}
							}
						}
					}
				}
				else = {
					if = {
						limit = { current_year <= 1728 }
						if = {
							limit = { current_year <= 1696 }
							if = {
								limit = { current_year <= 1680 }
								if = {
									limit = { current_year <= 1672 }
									if = {
										limit = { current_year <= 1668 }
										if = {
											limit = { current_year <= 1666 }
											if = {
												limit = { current_year = 1665 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1667 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1670 }
											if = {
												limit = { current_year = 1669 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1671 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1676 }
										if = {
											limit = { current_year <= 1674 }
											if = {
												limit = { current_year = 1673 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1675 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1678 }
											if = {
												limit = { current_year = 1677 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1679 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 1688 }
									if = {
										limit = { current_year <= 1684 }
										if = {
											limit = { current_year <= 1682 }
											if = {
												limit = { current_year = 1681 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1683 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1686 }
											if = {
												limit = { current_year = 1685 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1687 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1692 }
										if = {
											limit = { current_year <= 1690 }
											if = {
												limit = { current_year = 1689 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1691 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1694 }
											if = {
												limit = { current_year = 1693 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1695 }
											}
											else = {
											}
										}
									}
								}
							}
						}
						else = {
							if = {
								limit = { current_year <= 1712 }
								if = {
									limit = { current_year <= 1704 }
									if = {
										limit = { current_year <= 1700 }
										if = {
											limit = { current_year <= 1698 }
											if = {
												limit = { current_year = 1697 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1699 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1702 }
											if = {
												limit = { current_year = 1701 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1703 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1708 }
										if = {
											limit = { current_year <= 1706 }
											if = {
												limit = { current_year = 1705 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1707 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1710 }
											if = {
												limit = { current_year = 1709 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1711 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 1720 }
									if = {
										limit = { current_year <= 1716 }
										if = {
											limit = { current_year <= 1714 }
											if = {
												limit = { current_year = 1713 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1715 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1718 }
											if = {
												limit = { current_year = 1717 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1719 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1724 }
										if = {
											limit = { current_year <= 1722 }
											if = {
												limit = { current_year = 1721 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1723 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1726 }
											if = {
												limit = { current_year = 1725 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1727 }
											}
											else = {
											}
										}
									}
								}
							}
						}
					}
					else = {
						if = {
							limit = { current_year <= 1760 }
							if = {
								limit = { current_year <= 1744 }
								if = {
									limit = { current_year <= 1736 }
									if = {
										limit = { current_year <= 1732 }
										if = {
											limit = { current_year <= 1730 }
											if = {
												limit = { current_year = 1729 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1731 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1734 }
											if = {
												limit = { current_year = 1733 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1735 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1740 }
										if = {
											limit = { current_year <= 1738 }
											if = {
												limit = { current_year = 1737 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1739 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1742 }
											if = {
												limit = { current_year = 1741 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1743 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 1752 }
									if = {
										limit = { current_year <= 1748 }
										if = {
											limit = { current_year <= 1746 }
											if = {
												limit = { current_year = 1745 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1747 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1750 }
											if = {
												limit = { current_year = 1749 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1751 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1756 }
										if = {
											limit = { current_year <= 1754 }
											if = {
												limit = { current_year = 1753 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1755 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1758 }
											if = {
												limit = { current_year = 1757 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1759 }
											}
											else = {
											}
										}
									}
								}
							}
						}
						else = {
							if = {
								limit = { current_year <= 1776 }
								if = {
									limit = { current_year <= 1768 }
									if = {
										limit = { current_year <= 1764 }
										if = {
											limit = { current_year <= 1762 }
											if = {
												limit = { current_year = 1761 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1763 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1766 }
											if = {
												limit = { current_year = 1765 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1767 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1772 }
										if = {
											limit = { current_year <= 1770 }
											if = {
												limit = { current_year = 1769 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1771 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1774 }
											if = {
												limit = { current_year = 1773 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1775 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 1784 }
									if = {
										limit = { current_year <= 1780 }
										if = {
											limit = { current_year <= 1778 }
											if = {
												limit = { current_year = 1777 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1779 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1782 }
											if = {
												limit = { current_year = 1781 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1783 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1788 }
										if = {
											limit = { current_year <= 1786 }
											if = {
												limit = { current_year = 1785 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1787 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1790 }
											if = {
												limit = { current_year = 1789 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1791 }
											}
											else = {
											}
										}
									}
								}
							}
						}
					}
				}
			}
			else = {
				if = {
					limit = { current_year <= 1920 }
					if = {
						limit = { current_year <= 1856 }
						if = {
							limit = { current_year <= 1824 }
							if = {
								limit = { current_year <= 1808 }
								if = {
									limit = { current_year <= 1800 }
									if = {
										limit = { current_year <= 1796 }
										if = {
											limit = { current_year <= 1794 }
											if = {
												limit = { current_year = 1793 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1795 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1798 }
											if = {
												limit = { current_year = 1797 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1799 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1804 }
										if = {
											limit = { current_year <= 1802 }
											if = {
												limit = { current_year = 1801 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1803 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1806 }
											if = {
												limit = { current_year = 1805 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1807 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 1816 }
									if = {
										limit = { current_year <= 1812 }
										if = {
											limit = { current_year <= 1810 }
											if = {
												limit = { current_year = 1809 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1811 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1814 }
											if = {
												limit = { current_year = 1813 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1815 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1820 }
										if = {
											limit = { current_year <= 1818 }
											if = {
												limit = { current_year = 1817 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1819 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1822 }
											if = {
												limit = { current_year = 1821 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1823 }
											}
											else = {
											}
										}
									}
								}
							}
						}
						else = {
							if = {
								limit = { current_year <= 1840 }
								if = {
									limit = { current_year <= 1832 }
									if = {
										limit = { current_year <= 1828 }
										if = {
											limit = { current_year <= 1826 }
											if = {
												limit = { current_year = 1825 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1827 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1830 }
											if = {
												limit = { current_year = 1829 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1831 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1836 }
										if = {
											limit = { current_year <= 1834 }
											if = {
												limit = { current_year = 1833 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1835 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1838 }
											if = {
												limit = { current_year = 1837 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1839 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 1848 }
									if = {
										limit = { current_year <= 1844 }
										if = {
											limit = { current_year <= 1842 }
											if = {
												limit = { current_year = 1841 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1843 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1846 }
											if = {
												limit = { current_year = 1845 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1847 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1852 }
										if = {
											limit = { current_year <= 1850 }
											if = {
												limit = { current_year = 1849 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1851 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1854 }
											if = {
												limit = { current_year = 1853 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1855 }
											}
											else = {
											}
										}
									}
								}
							}
						}
					}
					else = {
						if = {
							limit = { current_year <= 1888 }
							if = {
								limit = { current_year <= 1872 }
								if = {
									limit = { current_year <= 1864 }
									if = {
										limit = { current_year <= 1860 }
										if = {
											limit = { current_year <= 1858 }
											if = {
												limit = { current_year = 1857 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1859 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1862 }
											if = {
												limit = { current_year = 1861 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1863 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1868 }
										if = {
											limit = { current_year <= 1866 }
											if = {
												limit = { current_year = 1865 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1867 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1870 }
											if = {
												limit = { current_year = 1869 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1871 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 1880 }
									if = {
										limit = { current_year <= 1876 }
										if = {
											limit = { current_year <= 1874 }
											if = {
												limit = { current_year = 1873 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1875 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1878 }
											if = {
												limit = { current_year = 1877 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1879 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1884 }
										if = {
											limit = { current_year <= 1882 }
											if = {
												limit = { current_year = 1881 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1883 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1886 }
											if = {
												limit = { current_year = 1885 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1887 }
											}
											else = {
											}
										}
									}
								}
							}
						}
						else = {
							if = {
								limit = { current_year <= 1904 }
								if = {
									limit = { current_year <= 1896 }
									if = {
										limit = { current_year <= 1892 }
										if = {
											limit = { current_year <= 1890 }
											if = {
												limit = { current_year = 1889 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1891 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1894 }
											if = {
												limit = { current_year = 1893 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1895 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1900 }
										if = {
											limit = { current_year <= 1898 }
											if = {
												limit = { current_year = 1897 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1899 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1902 }
											if = {
												limit = { current_year = 1901 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1903 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 1912 }
									if = {
										limit = { current_year <= 1908 }
										if = {
											limit = { current_year <= 1906 }
											if = {
												limit = { current_year = 1905 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1907 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1910 }
											if = {
												limit = { current_year = 1909 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1911 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1916 }
										if = {
											limit = { current_year <= 1914 }
											if = {
												limit = { current_year = 1913 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1915 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1918 }
											if = {
												limit = { current_year = 1917 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1919 }
											}
											else = {
											}
										}
									}
								}
							}
						}
					}
				}
				else = {
					if = {
						limit = { current_year <= 1984 }
						if = {
							limit = { current_year <= 1952 }
							if = {
								limit = { current_year <= 1936 }
								if = {
									limit = { current_year <= 1928 }
									if = {
										limit = { current_year <= 1924 }
										if = {
											limit = { current_year <= 1922 }
											if = {
												limit = { current_year = 1921 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1923 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1926 }
											if = {
												limit = { current_year = 1925 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1927 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1932 }
										if = {
											limit = { current_year <= 1930 }
											if = {
												limit = { current_year = 1929 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1931 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1934 }
											if = {
												limit = { current_year = 1933 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1935 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 1944 }
									if = {
										limit = { current_year <= 1940 }
										if = {
											limit = { current_year <= 1938 }
											if = {
												limit = { current_year = 1937 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1939 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1942 }
											if = {
												limit = { current_year = 1941 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1943 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1948 }
										if = {
											limit = { current_year <= 1946 }
											if = {
												limit = { current_year = 1945 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1947 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1950 }
											if = {
												limit = { current_year = 1949 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1951 }
											}
											else = {
											}
										}
									}
								}
							}
						}
						else = {
							if = {
								limit = { current_year <= 1968 }
								if = {
									limit = { current_year <= 1960 }
									if = {
										limit = { current_year <= 1956 }
										if = {
											limit = { current_year <= 1954 }
											if = {
												limit = { current_year = 1953 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1955 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1958 }
											if = {
												limit = { current_year = 1957 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1959 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1964 }
										if = {
											limit = { current_year <= 1962 }
											if = {
												limit = { current_year = 1961 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1963 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1966 }
											if = {
												limit = { current_year = 1965 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1967 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 1976 }
									if = {
										limit = { current_year <= 1972 }
										if = {
											limit = { current_year <= 1970 }
											if = {
												limit = { current_year = 1969 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1971 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1974 }
											if = {
												limit = { current_year = 1973 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1975 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1980 }
										if = {
											limit = { current_year <= 1978 }
											if = {
												limit = { current_year = 1977 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1979 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1982 }
											if = {
												limit = { current_year = 1981 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1983 }
											}
											else = {
											}
										}
									}
								}
							}
						}
					}
					else = {
						if = {
							limit = { current_year <= 2016 }
							if = {
								limit = { current_year <= 2000 }
								if = {
									limit = { current_year <= 1992 }
									if = {
										limit = { current_year <= 1988 }
										if = {
											limit = { current_year <= 1986 }
											if = {
												limit = { current_year = 1985 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1987 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1990 }
											if = {
												limit = { current_year = 1989 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1991 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 1996 }
										if = {
											limit = { current_year <= 1994 }
											if = {
												limit = { current_year = 1993 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1995 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 1998 }
											if = {
												limit = { current_year = 1997 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 1999 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 2008 }
									if = {
										limit = { current_year <= 2004 }
										if = {
											limit = { current_year <= 2002 }
											if = {
												limit = { current_year = 2001 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 2003 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 2006 }
											if = {
												limit = { current_year = 2005 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 2007 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 2012 }
										if = {
											limit = { current_year <= 2010 }
											if = {
												limit = { current_year = 2009 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 2011 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 2014 }
											if = {
												limit = { current_year = 2013 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 2015 }
											}
											else = {
											}
										}
									}
								}
							}
						}
						else = {
							if = {
								limit = { current_year <= 2032 }
								if = {
									limit = { current_year <= 2024 }
									if = {
										limit = { current_year <= 2020 }
										if = {
											limit = { current_year <= 2018 }
											if = {
												limit = { current_year = 2017 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 2019 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 2022 }
											if = {
												limit = { current_year = 2021 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 2023 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 2028 }
										if = {
											limit = { current_year <= 2026 }
											if = {
												limit = { current_year = 2025 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 2027 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 2030 }
											if = {
												limit = { current_year = 2029 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 2031 }
											}
											else = {
											}
										}
									}
								}
							}
							else = {
								if = {
									limit = { current_year <= 2040 }
									if = {
										limit = { current_year <= 2036 }
										if = {
											limit = { current_year <= 2034 }
											if = {
												limit = { current_year = 2033 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 2035 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 2038 }
											if = {
												limit = { current_year = 2037 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 2039 }
											}
											else = {
											}
										}
									}
								}
								else = {
									if = {
										limit = { current_year <= 2044 }
										if = {
											limit = { current_year <= 2042 }
											if = {
												limit = { current_year = 2041 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 2043 }
											}
											else = {
											}
										}
									}
									else = {
										if = {
											limit = { current_year <= 2046 }
											if = {
												limit = { current_year = 2045 }
											}
											else = {
											}
										}
										else = {
											if = {
												limit = { current_year = 2047 }
											}
											else = {
											}
										}
									}
								}
							}
						}
					}
				}
			}
		}
	}

}
